package com.buybuyyi.stylistcrm.resource.goods.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.buybuyyi.stylistcrm.resource.goods.dao.GoodspicturesDao;
import com.buybuyyi.stylistcrm.resource.goods.mapper.GoodspicturesMapper;
import com.buybuyyi.stylistcrm.resource.goods.po.Goodspictures;

@Repository
public class GoodspicturesDaoImpl implements GoodspicturesDao{
	
	@Autowired
	private GoodspicturesMapper goodspicturesMapper;

	@Override
	public Long deleteByPrimaryKey(Long id) {
		return goodspicturesMapper.deleteByPrimaryKey(id);
	}

	@Override
	public Long insert(Goodspictures record) {
		return goodspicturesMapper.insert(record);
	}

	@Override
	public Long insertSelective(Goodspictures record) {
		return goodspicturesMapper.insertSelective(record);
	}

	@Override
	public Goodspictures selectByPrimaryKey(Long id) {
		return goodspicturesMapper.selectByPrimaryKey(id);
	}

	@Override
	public Long updateByPrimaryKeySelective(Goodspictures record) {
		return goodspicturesMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public Long updateByPrimaryKey(Goodspictures record) {
		return goodspicturesMapper.updateByPrimaryKey(record);
	}
	
   
}